var express = require('express');
var router = express.Router();
let roomDAO = require('../dao/schema/roomDAO')

/* GET home page. */
router.get('/list', function(req, res, next) {

       roomDAO.query('',(err,results)=>{
           res.json(results);
       })
});


module.exports = router
